package com.dudu.dao;


import java.util.List;

import org.apache.ibatis.annotations.Mapper;


import com.dudu.domain.Building;
import com.dudu.domain.Room;

@Mapper
public interface BuildingMapper {

   
    List<Building> getAllBuilding();
    Building getBuildingById(int id);
    int  addBuilding(Building building);
    int updataBuildingById (Building building);
    int deleteBuilding (Building building);
}